package com.csun.cmny.provider.device.csun.camera.entity;

import com.csun.cmny.provider.model.entity.CoordinateEntity;
import com.csun.cmny.provider.utils.WatchUtils;
import lombok.Data;
import net.sf.json.JSONArray;

import java.util.List;

/*
 * {"msgType":"cameraAreaMsg",
 * "sn":"camera-001",
 * "taskId":"1079109791",
 * "list":[
 *    {"x":35.5,"y":32.5},
 *    {"x":55.5,"y":62.5}
 *  ]
 * }
 *
 */
@Data
public class CsunCameraUnalertAreaMsg {

    /*
    * 消息类型
    * */
    private String msgType = "cameraAreaMsg";

    /*
    * 设备编号
    * */
    private String sn;

    /**
     * 任务Id
     */
    private String taskId = WatchUtils.getRandomString(10).toUpperCase();

    /*
     * 画面高度
     * */
    private String height;

    /*
     * 画面宽度
     * */
    private String width;

    /*
    * 坐标集合
    * */
    private JSONArray list;
}
